<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$site_opts.site_name}后台管理系统</title>
<link href="__PUBLIC__/admin/css/layout.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>
<script type="text/javascript" src="../Public/script/json2select.js"></script>
<body>
<div id="main" class="main" >
<div class="content">
<form method="POST" id="form1" action="__URL__/update/">
<input type="hidden" name="returnList" value="__URL__/index/">
<TABLE cellpadding=3 cellspacing=3>

<TR>
	<TD class="tRight" >标题：</TD>
	<TD class="tLeft" ><INPUT TYPE="text" class="bLeftRequire"  check='Require' warning="标题不能为空" size="100" NAME="title" value="{$vo.title}"></TD>
</TR>

<TR>
	<TD class="tRight" >内容：</TD>
	<TD class="tLeft" style="width:900px;">
	  {:W("Edit",array('smileList'=>$smileList,'smilePath'=>$smilePath,'width'=>"80%",'content'=>stripslashes(stripslashes($vo['content']))))}
     </TD>
</TR>

<TR>
	<TD >分类：</TD>
	<TD class="center"><div id="category"></div></TD>
</TR>
<TR>
  <TD >作者：</TD>
  <TD class="center"><span class="tLeft">
    <input type="text" class="large bLeftRequire" name="author" value="{$vo.author}" />
  </span></TD>
</TR>
<TR>
	<TD class="tRight" >链接：</TD>
	<TD class="tLeft" ><INPUT TYPE="text" class="bLeftRequire" size="100" NAME="url" value="{$vo.url}"></TD>
</TR>
<TR>
  <TD ></TD>
  <TD class="center">
  	<INPUT TYPE="hidden" name="id" value="{$vo.id}" >
	<INPUT TYPE="submit" value="保 存" class="small submit">
	<INPUT TYPE="reset" class="submit  small" value="清 空" >
  </TD>
</TR>
</TABLE>
</form>
</div>
<script type="text/javascript">
$(document).ready(function(){
	var category_json={$category_json};
	$("#category").json2select(category_json,[{$vo.cate_tree}],'category');
}); 
</script>
</div>

</body>
</html>